<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>添加模块信息</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>

	<div>
		<span class="err_msg"><c:out value="${errMsg}" /></span>
	</div>

	<form:form method="post" action="add.do" commandName="method">
		<table class="input_table" align="center" cellspacing="0" cellpadding="0">
			<tr>
				<td class="input_titile_td" width="150">方法名:</td>
				<td class="input_content_td"><form:input path="methodName" /> </td>
			</tr>
			
			<tr>
				<td class="input_titile_td">模块编号:</td>
				<td class="input_content_td"><form:input path="methodModuleId" /> </td>
			</tr>

			<tr>
				<td class="input_titile_td">是否toB:</td>
				<td class="input_content_td"><form:input path="isTob" /></td>
			</tr>

			<tr>
				<td class="input_titile_td">是否验证票据:</td>
				<td class="input_content_td"><form:input path="needVerifyTicket" /></td>
			</tr>

			<tr>
				<td class="input_titile_td">校验票据模块编号:</td>
				<td class="input_content_td"><form:input path="verifyModuleId" /> </td>
			</tr>

			<tr>
				<td class="input_titile_td">校验票据模块方法:</td>
				<td class="input_content_td"><form:input path="verifyModuleMethod" /></td>
			</tr>

			<tr>
				<td class="input_titile_td">不参与签名的参数名:</td>
				<td class="input_content_td"><form:input path="signatureIgnoreParams" /></td>
			</tr>
			<tr>
				<td class="input_titile_td">状态(0：开发中；1：运行；2：下线):</td>
				<td class="input_content_td"><form:input path="methodStatus" /> </td>
			</tr>
			<tr>
				<td class="input_titile_td">功能说明:</td>
				<td class="input_content_td"><form:textarea path="introFunc" rows="8" cols="60" /></td>
			</tr>
			<tr>
				<td class="input_titile_td">请求参数说明:</td>
				<td class="input_content_td"><form:textarea path="introRequestParams" rows="8" cols="60" /></td>
			</tr>
			<tr>
				<td class="input_titile_td">返回值说明:</td>
				<td class="input_content_td"><form:textarea path="introResponse" rows="8" cols="60" /></td>
			</tr>
			<tr>
				<td class="input_titile_td">开发者:</td>
				<td class="input_content_td"><form:input path="introDeveloper" /></td>
			</tr>
			<tr>
				<td class="input_titile_td">备注:</td>
				<td class="input_content_td"><form:textarea path="introComment" rows="8" cols="60" /></td>
			</tr>
			
			<tr>
				<td class="input_titile_td">超时:</td>
				<td class="input_content_td"><form:input path="timeoutMs" /> </td>
			</tr>
			
			<tr>
				<td class="input_titile_td">每秒请求数:</td>
				<td class="input_content_td"><form:input path="maxRunCountPreSecond" /> </td>
			</tr>

		</table>


		<table class="input_table" align="center" cellspacing="0" cellpadding="0">
			<tr>
				<td class="input_content_td" align="left"><input type="submit" value="添加" /></td>
			</tr>
		</table>

	</form:form>
</body>
</html>
